package com.itbaizhan.shopping_goods_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbaizhan.shopping_common.pojo.Specification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author spf
 * @date 2023/12/21
 * @time 14:43
 */

// 商品规格持久层
@Mapper
public interface SpecificationMapper extends BaseMapper<Specification> {
    Specification findById(Long id);
    List<Specification> findByProductTypeId(Long id);
}
